From: Keir Fraser Date: Tue, 23 Oct 2007 13:42:50 +0000 (+0100) Subject: xentop: build fix for *bsd. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14845^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2eaec0bc67baffbabdfd1436cf3f7d3adae435ab;p=xen.git xentop: build fix for *bsd. Signed-off-by: Christoph Egger --- diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index bc703ffae2..5e1f5ef8d1 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -758,7 +758,7 @@ void do_summary(void) /* Print program name, current time, and number of domains */ strftime(time_str, TIME_STR_LEN, TIME_STR_FORMAT, - localtime(&curtime.tv_sec)); + localtime((const time_t *)&curtime.tv_sec)); num_domains = xenstat_node_num_domains(cur_node); ver_str = xenstat_node_xen_version(cur_node); print("xentop - %s Xen %s\n", time_str, ver_str);